package com.hanson.pojo.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 商品卖点概述表
 * </p>
 *
 * @author HansonLee
 * @since 2021-01-08
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@TableName("goods_sell_point_summary")
@ApiModel(value="GoodsSellPointSummary对象", description="商品卖点概述表")
public class GoodsSellPointSummary implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "商品id")
    @TableField("gid")
    private Integer gid;

    @ApiModelProperty(value = "卖点背景图")
    @TableField("background_image_url")
    private String backgroundImageUrl;

    @ApiModelProperty(value = "卖点背景图存储路径")
    @TableField("background_image_oss_url")
    private String backgroundImageOssUrl;

    @ApiModelProperty(value = "卖点标题")
    @TableField("sell_title")
    private String sellTitle;

    @ApiModelProperty(value = "卖点描述")
    @TableField("sell_detail")
    private String sellDetail;

    @ApiModelProperty(value = "商品设计图")
    @TableField("design_image_url")
    private String designImageUrl;

    @ApiModelProperty(value = "商品设计图存储路径")
    @TableField("design_image_oss_url")
    private String designImageOssUrl;

    @ApiModelProperty(value = "商品卖点视频")
    @TableField("video_url")
    private String videoUrl;

    @ApiModelProperty(value = "商品卖点视频存储路径")
    @TableField("video_oss_url")
    private String videoOssUrl;

    @ApiModelProperty(value = "参数标题id")
    @TableField("title_id")
    private Integer titleId;

    @ApiModelProperty(value = "参数图片")
    @TableField("parameter_image_url")
    private String parameterImageUrl;

    @ApiModelProperty(value = "参数图片存储路径")
    @TableField("parameter_image_oss_url")
    private String parameterImageOssUrl;

    @ApiModelProperty(value = "数据状态")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField("update_time")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "创建人")
    @TableField("create_by")
    private String createBy;

    @ApiModelProperty(value = "更新人")
    @TableField("update_by")
    private String updateBy;


}
